package com.tanjun.common.enums.err;

import com.tanjun.common.exception.ErrCode;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum DefaultErrCode implements ErrCode {

    NO_DATA("404","数据不存在"),
    ;

    private String code;
    private String message;
    @Override
    public String code() {
        return this.code;
    }

    @Override
    public String message() {
        return this.message;
    }
}
